/* 管理员账号管理界面样式 */
.admin-container {
    padding: 20px;
    background-color: #fff;
}

/* 搜索区域样式 */
.search-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-group {
    display: flex;
    align-items: center;
}

.search-group .form-control {
    width: 300px;
    border-radius: 4px;
}

.search-group .btn-info {
    margin-left: 10px;
}


.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

/* 表格样式 */
.table {
    margin-top: 20px;
    background-color: #fff;
}

.table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    color: #495057;
    font-weight: 500;
    padding: 12px 15px;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
}

.table td {
    padding: 12px 15px;
    vertical-align: middle;
    border-top: 1px solid #dee2e6;
}

/* 操作按钮样式 */
.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    margin-right: 5px;
}

.btn-danger {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .search-area {
        flex-wrap: wrap;
        gap: 10px;
    }

    .search-group {
        width: 100%;
    }

    .search-group .form-control {
        width: calc(100% - 90px);
    }
    
    .table-responsive {
        border: 0;
        margin-bottom: 0;
    }
}

/* 动画效果 */
.table tbody tr {
    transition: all 0.3s ease;
}

.alert-danger {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


